package com.mypro.java8;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

/**
 * Date: 2017/12/27 12:31
 * Description:
 */
public class CollectionTest {

    class User{
        private String name;
        private int age;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }
    }

    public static void main(String[] args){
        List<String> testList = new ArrayList<>();
        Optional<User> optional = Optional.ofNullable(null);
    }

}
